package com.mapper.repository.mysql;

import com.bean.WebsiteVisitor;
import com.bean.WebsiteVisitorAbnormal;
import org.springframework.data.jpa.repository.JpaRepository;

public interface WebsiteVisitorAbnormalRepository extends JpaRepository<WebsiteVisitorAbnormal,String> {

    int countByAddr(String addr);

    //根据地址删除异常访问   删除没有返回结果
    void deleteAllByAddr(String addr);

}
